import { defineConfig } from 'tsup';

export default defineConfig({
  entry: ['src/index.ts','src/index2.ts'],
  format: ['esm'],
  sourcemap: false,
  minify: true,
  clean: true,
  bundle: true,
  splitting: true,
  platform: 'node',
  shims: true,
  esbuildOptions: (options) => {
    return {
      ...options,
      alias: {
        '@': '/src/',
      },
    };
  },
 
});
